package com.vdimitr.happycube.puzzle.solution.output.writer;

import com.vdimitr.happycube.puzzle.solution.PuzzlePieceSolution;

/**
 * Interface for exporting a puzzle piece solution converted to an array of
 * strings.
 * 
 * @see PuzzlePieceSolution
 * 
 * @author vasileios.dimitriadis
 * 
 */
public interface IPuzzlePieceSolutionOutputWriter {

	/**
	 * Exports a puzzle piece solution as an array of strings
	 * 
	 * @param stringArray
	 *            represents the translation of the puzzle piece solution matrix
	 *            to concatenated strings per line
	 * @throws Exception
	 *             in case something goes wrong during export
	 */
	public void writeSolution(String[] stringArray) throws Exception;
}